package com.dhcc.bpm.modules.sandbox.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName SandboxCase
 * @Description 沙箱实例表实体类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
@TableName("opc_sandbox_case")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SandboxCase对象", description = "沙箱实例表")
public class SandboxCase extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 实例名称
	*/
		@ApiModelProperty(value = "实例名称")
		private String caseName;
	/**
	* 实例编号
	*/
		@ApiModelProperty(value = "实例编号")
		private String caseCode;
	/**
	* 机构ID
	*/
		@ApiModelProperty(value = "机构ID")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long opcOrgaId;
	/**
	* 应用渠道ID
	*/
		@ApiModelProperty(value = "应用渠道ID")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long opcAppId;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

}
